package com.xm.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class comments {
    private int id;
    private int userId;
    private int productId;
    private String content;
    private int audit;//审核
    private int stars;//星级1
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GTM+8")
    private Date createTime;
    private String nickname;

}
